package com.fjec.market.controller;

import com.fjec.common.protocol.JsonResult;
import com.fjec.market.service.IInfoDeliveryCompanyService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 047.快递公司表 前端控制器
 * </p>
 *
 * @author admin
 * @since 2020-09-21
 */
@RestController
@RequestMapping("/")
public class InfoDeliveryCompanyController {

    @Resource
    private IInfoDeliveryCompanyService service;

    @GetMapping("/y/deli/comp/list")
    public JsonResult getDeliveryCompanyList() {
        return service.getDeliveryCompanyList();
    }
}
